<?php echo '<p>You have successfully registration. Registration data were sent to the email provided during registration. You will be redirected to the <a href="/auth/login">login</a> page.</p>'; ?>
<script type="text/javascript">
    function goLoginPage(){
        document.location.href = '/auth/login';
        return false;
    }
    setTimeout(goLoginPage, 5000);
</script>